/**
 * Project problem4
 */


#ifndef _TEXTQUERY_H
#define _TEXTQUERY_H

class TextQuery {
public: 
    
/**
 * @param is
 */
void TextQuery(ifstream& is);
    
/**
 * @param sought
 */
TextQuery query(const string& sought);
private: 
    shared_ptr<vector<string>> file;
    map<string, shared_ptr<set<line_no>>> wm;
};

#endif //_TEXTQUERY_H